import { put } from '@/utils/request';

interface Response {}

/**
 * @description 用户注册
 *
 * @param mobile_phone 手机号
 * @param password 用户密码
 * @param code 验证码
 *
 * @returns
 */
export default async function pwdresetApi(mobile_phone: string, password: string,code: string) {
  const response = await put('/api/user/pwdreset', { mobile_phone, password,code });
  return response;
}